.msg_main {
  width: 100%;
  height: 100%;
  background: #f5f5f5;
}
.msg_main .no_msg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  user-select: none;
}
.msg_main .no_msg p {
  text-align: center;
  width: 100%;
  font-size: 20px;
  color: #c8c8c8;
}
.msg_main .no_msg p i {
  font-size: 35px;
}
.msg_main .msg_box {
  width: 100%;
  height: 100%;
  background: #eeeeee;
  flex-direction: column;
  display: flex;
}
.msg_main .msg_box .header {
  width: 100%;
  flex-basis: 50px;
  font-size: 18px;
  border-bottom: 1px solid #ddd;
  background: #f8f8f8;
  line-height: 50px;
  text-align: center;
}
.msg_main .msg_box .msg_list {
  flex-grow: 1;
  height: calc(-101%);
}
.msg_main .msg_box .input {
  width: 100%;
  flex-basis: 150px;
  background: #fff;
}
.msg_main .msg_box .input .toolebar {
  height: 40px;
  display: flex;
  padding: 0 5px;
}
.msg_main .msg_box .input .toolebar .tools {
  height: 30px;
  margin: 5px 0;
  font-size: 22px;
  user-select: none;
  text-align: center;
  line-height: 28px;
  cursor: pointer;
}
.msg_main .msg_box .input .toolebar .tools i {
  font-size: 22px;
  width: 30px;
  display: inline-block;
  height: 30px;
  line-height: 28px;
}
.msg_main .msg_box .input .toolebar .tools:active,
.msg_main .msg_box .input .toolebar .tools.active {
  background: #e7e7e7;
}
.msg_main .msg_box .input .toolebar .tools.face {
  position: relative;
}
.msg_main .msg_box .input .toolebar .tools.face .facebox {
  position: absolute;
  z-index: 9;
  cursor: default;
  width: 370px;
  height: 220px;
  overflow: hidden;
  overflow-y: auto;
  padding: 5px 0;
  bottom: 35px;
  background: #fff;
  border: 1px solid #edeae8;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
.msg_main .msg_box .input .toolebar .tools.face .facebox span {
  width: 30px;
  height: 30px;
  display: inline-block;
  font-size: 20px;
}
.msg_main .msg_box .input .toolebar .tools.face .facebox span:active {
  background: #e0e0e0;
}
.msg_main .msg_box .input .toolebar .tools.printuser {
  font-size: 12px;
  line-height: 30px;
  float: right;
  padding-right: 5px;
}
.msg_main .msg_box .input .text {
  height: 110px;
}
.msg_main .msg_box .input .text textarea {
  width: 100%;
  height: 75px;
  padding: 0 10px 5px;
  outline: none;
  border: none;
  resize: none;
  font-size: 14px;
  color: #333;
  text-align: justify;
}
.msg_main .msg_box .input .text::-webkit-scrollbar {
  margin-right: 2px;
  width: 15px;
}
.msg_main .msg_box .input .text::-webkit-scrollbar-track-piece {
  border-left: 1px solid #D2D2D2;
  background-color: #F5F5F5;
}
.msg_main .msg_box .input .text::-webkit-scrollbar-thumb {
  width: 10px;
  background: #CBCBCB;
}
.msg_main .msg_box .input .text::-webkit-scrollbar-thumb:hover {
  background: #4CACE2;
}
.msg_main .msg_box .input .text .btn {
  user-select: none;
  width: 100%;
  height: 35px;
  text-align: right;
}
.msg_main .msg_box .input .text .btn button {
  width: 60px;
  height: 25px;
  margin: 2.5px;
  border: 0px;
  background: #129611;
  color: #fff;
  cursor: pointer;
  outline: none;
}
.msg_main .msg_box .input .text .btn button:active {
  opacity: 0.8;
}
